package com.jingdianjichi.auth.convert;

import com.jingdianjichi.auth.bo.AuthUserBO;
import com.jingdianjichi.auth.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户bo转换器
 */

@Mapper
public interface AuthUserBOConverter {
    AuthUserBOConverter INSTANCE = Mappers.getMapper(AuthUserBOConverter.class);
    AuthUser convertBOToEntity (AuthUserBO authUserBO);
    AuthUserBO convertEntityToBO (AuthUser authUser);

}
